home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / selfield.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-09-09  |  1.2 KB  |  57 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef SELECTFIELDS_H
  8. #define SELECTFIELDS_H
  9.  
  10. #include <QDialog>
  11. class QHBoxLayout;
  12. class QVBoxLayout;
  13. class QListWidget;
  14. class QListWidgetItem;
  15. class QPushButton;
  16. class QLabel;
  17.  
  18. #include "scribusapi.h"
  19. #include "scribusview.h"
  20.  
  21. class SCRIBUS_API SelectFields : public QDialog
  22. {
  23.     Q_OBJECT
  24.  
  25. public:
  26.     SelectFields( QWidget* parent, QString Felder, QString Own, ScribusDoc *Doc, int Art);
  27.     ~SelectFields() {};
  28.  
  29.     QLabel* Text1;
  30.     QListWidget* AvailFields;
  31.     QPushButton* ToSel;
  32.     QPushButton* FromSel;
  33.     QLabel* Text2;
  34.     QListWidget* SelFields;
  35.     QPushButton* OK;
  36.     QPushButton* Cancel;
  37.     QString S_Fields;
  38.     int FTyp;
  39.  
  40. public slots:
  41.     void SetRetVal();
  42.     void RemoveSel();
  43.     void PutToSel();
  44.     void SelAField(QListWidgetItem *c);
  45.     void SelEField(QListWidgetItem *c);
  46.  
  47. protected:
  48.     QVBoxLayout* SelectFieldsLayout;
  49.     QHBoxLayout* Layout5;
  50.     QVBoxLayout* Layout1;
  51.     QVBoxLayout* Layout2;
  52.     QVBoxLayout* Layout3;
  53.     QHBoxLayout* Layout4;
  54. };
  55.  
  56. #endif // SELECTFIELDS_H
  57.